package com.ruoyi.cs.domain;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 箱子信息对象 t_box
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
@Data
public class TBox extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 箱子ID */
    @ApiModelProperty(value = "箱子ID")
    private String boxId;

    /** 箱子标题ID */
    @ApiModelProperty(value = "箱子标题ID")
    @Excel(name = "箱子标题ID")
    private String boxtitleId;

    /** 箱子名称 */
    @ApiModelProperty(value = "箱子名称")
    @Excel(name = "箱子名称")
    private String boxName;

    /** 箱子价格 */
    @ApiModelProperty(value = "箱子价格")
    @Excel(name = "箱子价格")
    private BigDecimal boxPrice;

    /** 箱子图片 */
    @ApiModelProperty(value = "箱子图片")
    @Excel(name = "箱子图片")
    private String boxPic;

    /** 箱子库存数 */
    @ApiModelProperty(value = "箱子库存数")
    @Excel(name = "箱子库存数")
    private Long boxStocknum;

    /** 箱子总上架数量 */
    @ApiModelProperty(value = "箱子总上架数量")
    @Excel(name = "箱子总上架数量")
    private Long boxPutnum;

    /** 首开开关 0 开 1 关 */
    @Excel(name = "首开开关")
    @ApiModelProperty(value = "首开开关 0 开 1 关 ")
    private String firstSwitch;

    /** 折后价 默认等于上架价格 */
    @Excel(name = "折后价")
    @ApiModelProperty(value = "折后价")
    private BigDecimal discountPrice;

    /** 每日限量 */
    @Excel(name = "每日限量")
    @ApiModelProperty(value = "每日限量")
    private Integer dailyLimit;

    /** 奖池 */
    @Excel(name = "奖池")
    @ApiModelProperty(value = "奖池")
    private BigDecimal jackpot;

    /**排序*/
    @ApiModelProperty(value = "排序")
    private Integer sort;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    @Excel(name = "删除标志")
    private String delFlag;

    /** 版本号 */
    @ApiModelProperty(value = "版本号")
    @Excel(name = "版本号")
    private Long version;
    /**
     * 后台标志
     */
    @ApiModelProperty(value = "后台标志")
    private String backStage;

    /**上架数量*/
    @ApiModelProperty(value = "上架数量")
    private Long num;

    /**武器图片*/
    @ApiModelProperty(value = "武器图片")
    private String goodsPic;

    /**抽中排名前N个饰品，则清空奖池*/
    @ApiModelProperty(value = "抽中排名前N个饰品，则清空奖池")
    private Integer frontJackpotNum;

    /**对战奖池*/
    @ApiModelProperty(value = "对战奖池")
    private BigDecimal battleJackpot;

    /**对战箱子版本号*/
    @ApiModelProperty(value = "对战箱子版本号")
    private BigDecimal battleVersion;

    /**箱子级别*/
    @ApiModelProperty(value = "箱子级别")
    private String boxLevel;

    /**箱子类型*/
    @ApiModelProperty(value = "箱子类型 0开箱 1对战 4 刮刮乐箱子 5 免费箱子 6 战令箱子")
    private String boxType;

    @ApiModelProperty(value = "奖池初始值")
    private BigDecimal initialJackpot;

    @ApiModelProperty(value = "溢价值")
    private BigDecimal excessValue;

    /**销量*/
    @ApiModelProperty(value = "销量")
    private Long salesVolume;

    @ApiModelProperty(value = "利润")
    private BigDecimal dividend;

    @ApiModelProperty(value = "单日可打开总次数")
    private Long totalNum;

    @ApiModelProperty(value = "单日单用户可打开次数")
    private Long singleUserNum;

    @ApiModelProperty(value = "积分盲盒使用兑换比例")
    private BigDecimal subscriptionRatio;

    @ApiModelProperty(value = "金品级饰品定价区间")
    private BigDecimal goldGradePrice;

    @ApiModelProperty(value = "红品级饰品定价区间")
    private BigDecimal redGradePrice;

    @ApiModelProperty(value = "紫品级饰品定价区间")
    private BigDecimal purpleGratePrice;

    @ApiModelProperty(value = "刮刮乐最低N个起开")
    private Integer gglNum;

    @ApiModelProperty(value = "免费箱子 每日充值门槛")
    private BigDecimal everyRecharge;

    @ApiModelProperty(value = "箱子信息描述")
    private String description;

    @ApiModelProperty(value = "更新饰品价格时，是否更新饰品品级")
    private Boolean isUpdateGoodsGrate;
}
